package com.objectcarpentry.kaylee.ui;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import com.objectcarpentry.kaylee.ui.views.LibraryView;
import com.objectcarpentry.kaylee.ui.views.TracklistView;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		
		layout.setEditorAreaVisible(false);
		layout.addStandaloneView(TracklistView.ID, false, IPageLayout.LEFT, 0.95f, layout.getEditorArea());
	
		layout.addPlaceholder(LibraryView.ID, IPageLayout.LEFT, 0.25f, TracklistView.ID);
		
		layout.addShowViewShortcut(TracklistView.ID);
		layout.addShowViewShortcut(LibraryView.ID);
	
	}
}
